<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<table cellspacing="0" border="0" width="995">
	<tr>
		<td width="995" class="title_manager_product">Quản lý hỗ trợ trực tuyến</td>
	</tr>
	<tr>
		<td height="90">
			<table border="0" cellpadding="0" cellspacing="0" width="995">
				<tr>
					<td align="center">
						<table border="0" cellpadding="0" cellspacing="0">
							<tr>
								<td align="center"><a href="index.php?admin=supportAdmin&do=formaddsupportcategory"><img src="images/CreateNews.gif" width="48" height="47" border="0" /></a></td>
							</tr>
							<tr>
								<td align="center" class="title_new_add"><a href="index.php?admin=supportAdmin&do=formaddsupportcategory">Tạo danh mục hỗ trợ</a></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>	
	</tr>
</table>

<table class="reference" cellspacing="0" border="0" width="995">
	<tr>
		<td width="995" valign="top">
			<table cellspacing="0" border="0" width="995">
				<tr>
					
					<td width="995" class="title_manager_cate">Danh sách hỗ trợ</td>
				
				</tr>
			</table>
			<table class="reference" cellspacing="0" border="1" width="995">
				<tr>
					<th align="left">Id</th>
					<th align="left"><b>ID Yahoo</b></th>
					<th align="left"><b>Tên người hỗ trợ</b></th>
					<th align="left"><b>Chức năng</b></th>
					
				</tr>
				<?php
					$query="SELECT * FROM productdownloadcategories";
					$result=mysql_query($query) or die(mysql_error());
					while($rows=mysql_fetch_array($result)){?>
					<tr>
						<td><?php echo $rows['id'];?></td>
						<td><?php echo $rows['idyahoo'];?></td>
						<td><?php echo $rows['namesupport'];?></td>
						<td align="center">
							<a href="index.php?admin=supportAdmin&do=formeditfile&id=<?php echo $rows['id'];?>" title="Sửa"><img src="images/edit.gif" width="17" height="17" border="0" /></a>
							<a href="index.php?admin=supportAdmin&do=deletefile&id=<?php echo $rows['id'];?>" onclick="return confirm('Bạn có muốn xoá người hỗ trợ này không?');" title="Xóa"><img src="images/delete.gif" width="17" height="17" border="0" /></a>                        
						</td> 
					</tr>
				<?php
				}
				?>    
			</table>
		</td>
	</tr>	
</table>
</body>
</html>